export interface LoginInfo {
    account: string
    gender: string
    roles: [
        {
            roleId: number;
            roleName: string;
        }
    ]
    token: string
    userId: string
    username: string
}

export interface MenuTreeRes {
    menuId: number;
    name: string;
    parentMenuId: number;
    nowPath: string;
    fullPath: string;
    iconTag: string;
    menuOrder: number;
    children: MenuTreeRes[];
}

export interface menuOpLevelOptionRes {
    label: string;
    value: string;
}

export interface RoleMenuTreeNode {
    key: number,
    name: string,
    operationLevel: string
    children?: RoleMenuTreeNode[]
}

export interface RoleInfo {
    boundUserCount: number,
    name: string,
    roleId: number
}

export interface MenuOperationInfo {
    menuId: number,
    menuLevel: string
}

// 新增-更新菜单节点信息
export interface ModalFormDataType {
    name: string, // 名称
    parentMenuId: string, // 父节点id
    menuId: null | string, // 当前节点id
    nowPath: string, // 路径
    iconTag: string, // 图标名称
    menuOrder: number | null, // 排序
}
